body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
}

.container {
    width: 90%;
    max-width: 1000px;
    border: 1px solid #ccc;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    padding: 20px;
    box-sizing: border-box;
    border-radius: 10px;
}

.top-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

#draw-button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #ff7e5f;
    border: none;
    color: white;
    border-radius: 5px;
    margin-bottom: 20px;
    transition: background-color 0.3s, transform 0.3s;
}

#draw-button.active {
    background-color: #ccc;
}

#card-display {
    width: 150px;
    height: 210px;
    border: 1px solid #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    background-color: #fff;
    transition: transform 0.5s;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color: #333;
    position: relative;
}

#card-display.red {
    color: red;
}

#card-display .value {
    font-size: 48px;
    margin-right: 5px;
}

#card-display .suit {
    font-size: 32px;
}

.history {
    text-align: center;
}

.history ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

.history li {
    margin: 5px;
    padding: 5px;
    border: 1px solid #ccc;
    background-color: #e0e0e0;
    min-width: 50px;
    text-align: center;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.history li.red {
    color: red;
}

.history li:hover {
    background-color: #ff7e5f;
    color: white;
}
